package com.czkt.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.czkt.pojo.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czkt.pojo.vo.SysUserVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2024-06-19
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    public SysUserVo getUserByLogin(@Param("usrName") String usrName, @Param("usrPassword") String usrPassword);
    public SysUserVo getUserByName(@Param("usrName") String usrName);

    public IPage<SysUserVo> selectPageVo(IPage<SysUserVo> page,@Param("sysUserVo") SysUserVo sysUserVo);
}
